PDF4Java Reference Documentation
com.o2sol.pdf4java Package / PDFPageCollection Class / convertListToTree Method
In This Topic
    convertListToTree Method
    In This Topic
    Converts the internal pages structure from a list to a tree.
    By default, the library stores the pages in a single list which can become very large if the document has many pages. Some PDF processors have trouble procesing such long lists, so this method transform the internal pages structure into a tree.
    Note: This method should be called only once before the document is saved and only on documents creates from scratch with the library.
    Syntax
    public void convertListToTree()
    See Also